//
//  Animal.m
//  4.7Practice
//
//  Created by mac on 4/7/16.
//  Copyright (c) 2016 liuchengming. All rights reserved.
//

#import "Animal.h"

@implementation Animal

-(NSString *)description
{
    return self.name;
}
-(void)eat
{
    NSLog(@"%@ eat",self.name);
}

-(void)sleep
{
    NSLog(@"%@ sleep",self.name);
}

@end
